package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备信息对象 yh_equipment
 * 
 * @author ruoyi
 * @date 2023-03-09
 */
public class YhEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 仪器编号 */
    @Excel(name = "仪器编号")
    private String instrumentId;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String instrumentName;

    /** 设备类别 */
    @Excel(name = "设备类别", readConverterExp="001=会议室,002=成分分析,003=微区分析,004=感官分析,005=物性分析,006=分子生物学分析,007=微生物分析,008=常规分析,009=前处理仪器设备,010=离心分离分析,011=分析软件,012=其他")
    private String equipmentType;

    /** 领用单位 */
    @Excel(name = "领用单位")
    private String applicationDepartment;

    /** 型号 */
    @Excel(name = "型号")
    private String modelNumber;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 单价 */
    @Excel(name = "单价")
    private String unitPrice;

    /** 分类号 */
    @Excel(name = "分类号")
    private String classifyNumber;

    /** 购置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseDate;

    /** 领用人工号 */
    @Excel(name = "领用人工号")
    private String receiverId;

    /** 领用人姓名 */
    @Excel(name = "领用人姓名")
    private String receiverName;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufacturers;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storageDate;

    /** 存放地名称 */
    @Excel(name = "存放地名称")
    private String storageLocation;

    /** 用户ID */
  /*  @Excel(name = "用户ID")*/
    private Long userId;

    /** 部门ID */
   /* @Excel(name = "部门ID")*/
    private Long deptId;

    /** 备注1 */
    /*@Excel(name = "备注1")*/
    private String note1;

    /** 备注2 */
    /*@Excel(name = "备注2")*/
    private String note2;

    /** 备注3 */
   /* @Excel(name = "备注3")*/
    private String note3;

    /** 备注4 */
    /*@Excel(name = "备注4")*/
    private String note4;

    /** 备注5 */
    /*@Excel(name = "备注5")*/
    private String note5;

    /** 备注6 */
   /* @Excel(name = "备注6")*/
    private String note6;

    /** 备注7 */
   /* @Excel(name = "备注7")*/
    private String note7;

    /** 备注8 */
   /* @Excel(name = "备注8")*/
    private String note8;

    /** 备注9 */
    /*@Excel(name = "备注9")*/
    private String note9;

    /** 备注10 */
    /*@Excel(name = "备注10")*/
    private String note10;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInstrumentId(String instrumentId) 
    {
        this.instrumentId = instrumentId;
    }

    public String getInstrumentId() 
    {
        return instrumentId;
    }
    public void setInstrumentName(String instrumentName) 
    {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentName() 
    {
        return instrumentName;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setApplicationDepartment(String applicationDepartment) 
    {
        this.applicationDepartment = applicationDepartment;
    }

    public String getApplicationDepartment() 
    {
        return applicationDepartment;
    }
    public void setModelNumber(String modelNumber) 
    {
        this.modelNumber = modelNumber;
    }

    public String getModelNumber() 
    {
        return modelNumber;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setUnitPrice(String unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public String getUnitPrice() 
    {
        return unitPrice;
    }
    public void setClassifyNumber(String classifyNumber) 
    {
        this.classifyNumber = classifyNumber;
    }

    public String getClassifyNumber() 
    {
        return classifyNumber;
    }
    public void setPurchaseDate(Date purchaseDate) 
    {
        this.purchaseDate = purchaseDate;
    }

    public Date getPurchaseDate() 
    {
        return purchaseDate;
    }
    public void setReceiverId(String receiverId) 
    {
        this.receiverId = receiverId;
    }

    public String getReceiverId() 
    {
        return receiverId;
    }
    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }
    public void setManufacturers(String manufacturers) 
    {
        this.manufacturers = manufacturers;
    }

    public String getManufacturers() 
    {
        return manufacturers;
    }
    public void setStorageDate(Date storageDate) 
    {
        this.storageDate = storageDate;
    }

    public Date getStorageDate() 
    {
        return storageDate;
    }
    public void setStorageLocation(String storageLocation) 
    {
        this.storageLocation = storageLocation;
    }

    public String getStorageLocation() 
    {
        return storageLocation;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("instrumentId", getInstrumentId())
            .append("instrumentName", getInstrumentName())
            .append("equipmentType", getEquipmentType())
            .append("applicationDepartment", getApplicationDepartment())
            .append("modelNumber", getModelNumber())
            .append("specification", getSpecification())
            .append("unitPrice", getUnitPrice())
            .append("classifyNumber", getClassifyNumber())
            .append("purchaseDate", getPurchaseDate())
            .append("receiverId", getReceiverId())
            .append("receiverName", getReceiverName())
            .append("manufacturers", getManufacturers())
            .append("storageDate", getStorageDate())
            .append("storageLocation", getStorageLocation())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .toString();
    }
}
